<template>
  <div class="aaa">
    <h3>Aaa</h3>
    <button @click="atob">a->b</button>
  </div>
</template>

<script>
export default {
  methods: {
    atob () {
      this.$bus.$emit('a-b', Date.now())
    }
  }
}
</script>

<style lang="scss" scoped>
.aaa {
  width: 300px;
  height: 300px;
  border: 5px solid blue;
}
</style>
